<html>
  <head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="STYLESHEET" type="text/css" href="${base}/res/admin/css/tab.css"/>
	<script type="text/javascript" src="${base}/res/comm/js/jquery/jquery.js"></script>
	<script>
  	function ifrsubmit(){
  		var pageForm = document.getElementById('pageForm');
  		pageForm.q_name.value=$('#q_name').val();
  		pageForm.pageno.value=1;
  		pageForm.submit();
  	}
  	</script>
  </head>
  
  <body style="overflow:auto;">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="20">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${base}/res/admin/images/tab_03.gif" width="15" height="30" /></td>
        <td background="${base}/res/admin/images/tab_05.gif"><img src="${base}/res/admin/images/311.gif" width="16" height="16" /> <span class="STYLE4" style="height:16px;">查询条件</span></td>
        <td width="14"><img src="${base}/res/admin/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td width="9" background="${base}/res/admin/images/tab_12.gif"   bgcolor="D3E6F5">&nbsp;</td>
        <td>
          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="STYLE1">
            <tr>
            <td>
            <table  class="STYLE1">
            <tr>
              <td>
              	文章分类名称&nbsp;&nbsp;<input id="q_name" name="q_name" value="${q_name!""}" size="12" class="x-html-editor-wrap" style="width:170px;"/>
              </td>
              <td>
              	<input type="button" value="查询" onclick="return ifrsubmit();" style="cursor:hand;width:30px;border:1 solid black; font-style: normal; font-variant: normal; font-weight: normal; height: 18px; line-height: normal;"/>
              </td>
            </tr>
            </table>
            </td>
            </tr>
          </table>
		</td>
        <td width="9" background="${base}/res/admin/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15"><img src="${base}/res/admin/images/tab_20.gif" width="15"/></td>
        <td background="${base}/res/admin/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="40%"><div align="left"><span class="STYLE1"></span></div></td>
            <td width="60%" class="STYLE1">&nbsp;</td>
          </tr>
        </table></td>
        <td width="14"><img src="${base}/res/admin/images/tab_22.gif" width="14"/></td>
      </tr>
    </table></td>
  </tr>
</table>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	    <td height="30">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td width="15" height="30"><img src="${base}/res/admin/images/tab_03.gif" width="15" height="30" /></td>
	        <td background="${base}/res/admin/images/tab_05.gif">
	       		<table width="100%">
	       			<tr>
	       			<td><img src="${base}/res/admin/images/311.gif" width="16" height="16" /> <span class="STYLE4" style="16">文章分类管理</span></td>
	       			<td align="right"><a href="${base}/admin/articlecategories/input.jhtml">添加文章分类</a></td>
	       			</tr>
	       		</table> 
	        </td>
	        <td width="14"><img src="${base}/res/admin/images/tab_07.gif" width="14" height="30" /></td>
	      </tr>
	    </table>
	    </td>
	  </tr>
	   <tr>
	    <td>
	    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
			      <tr>
			        <td width="9" background="${base}/res/admin/images/tab_12.gif">&nbsp;</td>
			        <td bgcolor="e5f1d6">
			        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CECECE">
		    		<tr>
				    <td height="26" background="${base}/res/admin/images/tab_14.gif" class="STYLE1"><div align="left" class="STYLE2 STYLE1">ID</div></td>
				    <td height="26" background="${base}/res/admin/images/tab_14.gif" class="STYLE1"><div align="left" class="STYLE2 STYLE1">分类名称</div></td>
				    <td height="26" background="${base}/res/admin/images/tab_14.gif" class="STYLE1"><div align="left" class="STYLE2 STYLE1">添加时间</div></td>
				    <td height="26" background="${base}/res/admin/images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">操作</div></td>
				  </tr>
		 		<#if page??>
    			<#list page.data! as list>
				  <tr>
		            <td height="18" bgcolor="#FFFFFF"><div align="left" class="STYLE2 STYLE1">${list.id}</div></td>
		            <td height="18" bgcolor="#FFFFFF"><div align="left" class="STYLE2 STYLE1">${list.name}</div></td>
		            <td height="18" bgcolor="#FFFFFF"><div align="left" class="STYLE2 STYLE1">${list.addtime}</div></td>
		        	<td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1"><a href="${base}/admin/articlecategories/input.jhtml?id=${list.id}">编辑</a>&nbsp;|&nbsp;<a href="#">删除</a></div></td>
		          </tr>
				</#list>
				</#if>
        </table>
		</td>
		<td width="9" background="${base}/res/admin/images/tab_16.gif">&nbsp;</td>
   		</tr>
   	
   		</table>
   		</td>
   		
  </tr>
   <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="${base}/res/admin/images/tab_20.gif" width="15" height="29" /></td>
        <td background="${base}/res/admin/images/tab_21.gif"><#include "page.html"></td>
        <td width="14"><img src="${base}/res/admin/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>	

  <form id="pageForm" name="pageForm" action="${base}/admin/articlecategories/index.jhtml" method="get">
  	<input type="hidden" id="pageno" name="pageno" value="<#if page??>${page.currentPageNo}<#else>0</#if>"/>
  	<input type="hidden" name="q_name" value="${q_name!""}"/>
  </form>
  </body>
</html>
